﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IM.Easy.SystemServices.Dtos.Department
{
    public class SysDepartmentCreateDto
    {
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Mobile { get; set; }
        /// <summary>
        /// 组织单位编号，用于唯一标识
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 组织单位类型 OrgTypeConstant 类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 联系邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 组织单位名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 组织单位的唯一标识
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 描述信息
        /// </summary>
        public string Desc { get; set; }
        /// <summary>
        /// 上级组织单位ID，自引用用于组织和部门的层级关系
        /// </summary>
        public long ParentId { get; set; }
        /// <summary>
        /// 负责人ID（适用于部门经理或组织负责人）
        /// </summary>
        public long ManagerId { get; set; }

        /// <summary>
        /// 启用状态
        /// </summary>
        public bool IsActive { get; set; }

        /// <summary>
        /// 排序值
        /// </summary>
        public int Order { get; set; }
    }
}
